package models

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ CusMessagesModel = (*customCusMessagesModel)(nil)

type (
	// CusMessagesModel is an interface to be customized, add more methods here,
	// and implement the added methods in customCusMessagesModel.
	CusMessagesModel interface {
		cusMessagesModel
	}

	customCusMessagesModel struct {
		*defaultCusMessagesModel
	}
)

// NewCusMessagesModel returns a model for the database table.
func NewCusMessagesModel(conn sqlx.SqlConn, c cache.CacheConf) CusMessagesModel {
	return &customCusMessagesModel{
		defaultCusMessagesModel: newCusMessagesModel(conn, c),
	}
}
